package cn.tedu.es.es;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.data.domain.Pageable;
import java.util.List;

public interface StudentRepository extends ElasticsearchRepository<Student,Long> {
    List<Student> findByName(String name, Pageable pageable);
    List<Student> findByNameOrBirthDate(String name,String birthDate);

}
